package com.zyc.controller.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author zyc
 * @create 2022-03-01-22:16
 */
@Component
@FeignClient("service-edu")
public interface EduClient {
    //根据课程id查询课程信息
    @GetMapping("/eduservice/frontCourse/getDto/{courseId}")
    public com.zyc.commonUtils.vo.CourseInfoVo getCourseInfoDto(@PathVariable("courseId") String courseId);

}
